import 'package:erp/main_state.dart';
import 'package:get/get.dart';

class MainMiddleware extends GetMiddleware {
  @override
  GetPage onPageCalled(GetPage? page) {
    var ms = Get.find<MainState>();
    ms.loadDictionary();
    ms.loadSomething();
    return page!;
  }
}
